package com.tubi.demo;

public class demo {
    public static void main(String[] args) {
        System.out.println(Season.LEI);
        System.out.println(Season.LEI.name());//名字
        System.out.println(Season.LEI.ordinal());//索引

        Season lei = Enum.valueOf(Season.class, "LEI");
        System.out.println(lei);


    }
}
